package com.hejia.bulbul.entity;

import java.math.BigDecimal;

/**
 * 推广统计
 * 
 * @author hyr
 *
 */
public class PopularizeStatistic {

	private Long categoryId; // 类别ID

	private String categoryName; // 类别名称

	private Long biggerCategoryId; // 大类Id

	private String biggerCategoryName; // 大类名称

	private Long popularizeId; // 推广ID

	private String popularizeName; // 推广名称

	private Long visitCount; // 访问数

	private Long registerCount; // 注册数
	
	private Long newTradeUserCount; // 新增交易用户数

	private Long realNameCount; // 实名认证数

	private Long orderCount; // 下单数

	private Long paidOrderCount; // 支付订单数

	private Long paidUserCount; // 下单支付用户数

	private BigDecimal paymentAmount; // 下单支付金额数
	
	private Boolean isStopPopularize; // 是否停止推广

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Long getBiggerCategoryId() {
		return biggerCategoryId;
	}

	public void setBiggerCategoryId(Long biggerCategoryId) {
		this.biggerCategoryId = biggerCategoryId;
	}

	public String getBiggerCategoryName() {
		return biggerCategoryName;
	}

	public void setBiggerCategoryName(String biggerCategoryName) {
		this.biggerCategoryName = biggerCategoryName;
	}

	public Long getPopularizeId() {
		return popularizeId;
	}

	public void setPopularizeId(Long popularizeId) {
		this.popularizeId = popularizeId;
	}

	public String getPopularizeName() {
		return popularizeName;
	}

	public void setPopularizeName(String popularizeName) {
		this.popularizeName = popularizeName;
	}

	public Long getVisitCount() {
		if (visitCount == null) {
			return 0L;
		}
		return visitCount;
	}

	public void setVisitCount(Long visitCount) {
		this.visitCount = visitCount;
	}

	public Long getRegisterCount() {
		if (registerCount == null) {
			return 0L;
		}
		return registerCount;
	}

	public void setRegisterCount(Long registerCount) {
		this.registerCount = registerCount;
	}
	
	public Long getNewTradeUserCount() {
		if (this.newTradeUserCount == null) {
			this.newTradeUserCount = 0L;
		}
		return newTradeUserCount;
	}

	public void setNewTradeUserCount(Long newTradeUserCount) {
		this.newTradeUserCount = newTradeUserCount;
	}

	public Long getRealNameCount() {
		if (realNameCount == null) {
			return 0L;
		}
		return realNameCount;
	}

	public void setRealNameCount(Long realNameCount) {
		this.realNameCount = realNameCount;
	}

	public Long getOrderCount() {
		if (orderCount == null) {
			return 0L;
		}
		return orderCount;
	}

	public void setOrderCount(Long orderCount) {
		this.orderCount = orderCount;
	}

	public Long getPaidOrderCount() {
		if (paidOrderCount == null) {
			return 0L;
		}
		return paidOrderCount;
	}

	public void setPaidOrderCount(Long paidOrderCount) {
		this.paidOrderCount = paidOrderCount;
	}

	public BigDecimal getPaymentAmount() {
		if (paymentAmount == null) {
			return BigDecimal.ZERO;
		}
		return paymentAmount;
	}

	public void setPaymentAmount(BigDecimal paymentAmount) {
		this.paymentAmount = paymentAmount;
	}

	public Long getPaidUserCount() {
		if (paidUserCount == null) {
			paidUserCount = 0L;
		}
		return paidUserCount;
	}

	public void setPaidUserCount(Long paidUserCount) {
		this.paidUserCount = paidUserCount;
	}

	public Boolean getIsStopPopularize() {
		if(this.isStopPopularize == null){
			return false;
		}
		return isStopPopularize;
	}

	public void setIsStopPopularize(Boolean isStopPopularize) {
		this.isStopPopularize = isStopPopularize;
	}
	
}
